<?php
	require_once('system/dbConnect.php');
    require_once('system/MyFunc.php'); 
	connect(); 
	$id = $_GET['id'];
	$sql = "delete from jiaju where wn_id={$id}";
	$result = mysql_query($sql) or die('删除失败！'.mysql_error());
	if(!mysql_error()){
		
		redirect('list.php', '删除成功！');
	}	
?>
